<extend name="$extendsTpl" />
<block name="endJs">
    <script>
        alert(1);
    </script>
</block>